<%@ page import="com.entity.Blog" %><%--
  Created by IntelliJ IDEA.
  User: Elle
  Date: 2022/6/18
  Time: 9:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改博客</title>
</head>

<%
    Blog blog = (Blog) request.getAttribute("blog");
%>
<body>
<form action="doUpdate.jsp" method="post">
    <p>博客Id：<input type="text" name="id" value="<%=blog.getId()%>"></p>
    <p>内容：<textarea rows="3" cols="20" name="content"><%=blog.getContent()%></textarea></p>
    <p><input type="submit" value="提交"></p>
</form>
</body>
</html>
